<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
/* @var think\Route $router */

$router->group(function () use ($router){
    $router->get('home/statistics', '\catchAdmin\home\controller\Homepage@statistics');
    $router->get('home/followtask', '\catchAdmin\home\controller\Homepage@followtask');
    $router->get('home/diepatient', '\catchAdmin\home\controller\Homepage@diepatient');
    $router->get('home/news', '\catchAdmin\home\controller\Homepage@news');
    $router->get('home/visit', '\catchAdmin\home\controller\Homepage@visit');

    $router->any('currentDoctor', '\catchAdmin\home\controller\Homepage@currentDoctor');
    $router->any('stagingBacklog', '\catchAdmin\home\controller\Homepage@stagingBacklog');
    $router->any('rollFollowTask', '\catchAdmin\home\controller\Homepage@rollFollowTask');
    $router->any('followCaseAnalysis', '\catchAdmin\home\controller\Homepage@followCaseAnalysis');
    $router->any('followTrendAnalysis', '\catchAdmin\home\controller\Homepage@followTrendAnalysis');
})->middleware('auth');

